From 5469f2626069f4c8b2583361f1436ea118ed103a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Fri, 22 Jan 2016 19:23:54 -0500 Subject: [PATCH] Adwaita: Move .ssd class around Make the theme follow our documentation for the various .csd and .ssd style classes: They all go on the window node. For now, just add the new selector; the old one will be removed when mutter has been updated. https://bugzilla.gnome.org/show_bug.cgi?id=760714 --- gtk/theme/Adwaita/_common.scss | 1 + gtk/theme/Adwaita/gtk-contained-dark.css | 2 +- gtk/theme/Adwaita/gtk-contained.css | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index 08f5286482..f5a039e398 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -3557,6 +3557,7 @@ decoration { .popup & { box-shadow: none; } // server-side decorations as used by mutter + .ssd &, &.ssd { box-shadow: 0 0 0 1px $_wm_border; } //just doing borders, wm draws actual shadows .csd.popup & { diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 3ea6508155..ed61d44791 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -4557,7 +4557,7 @@ decoration { border-radius: 0; } .popup decoration { box-shadow: none; } - decoration.ssd { + .ssd decoration, decoration.ssd { box-shadow: 0 0 0 1px rgba(28, 31, 31, 0.9); } .csd.popup decoration { border-radius: 0; diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 00c31b006a..451b9e0649 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -4698,7 +4698,7 @@ decoration { border-radius: 0; } .popup decoration { box-shadow: none; } - decoration.ssd { + .ssd decoration, decoration.ssd { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.23); } .csd.popup decoration { border-radius: 0; -- 2.30.2